﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RentHouse.DTO
{
    public class PermissionsDTO
    {


        /// <summary>
        /// 暂时写成icon样式
        /// </summary>
        public string icon { get; set; }

        

        /// <summary>
        /// 主键id
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 标题title
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 类型type（0为菜单，1为界面）
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 路径href（菜单没有路径）
        /// </summary>
        public string href { get; set; }
        /// <summary>
        /// 菜单子类children（界面没有子类）
        /// </summary>
        public List<PermissionsDTO> children { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        public int fid { get; set; }
        //public DateTime CreateDateTime { get; set; }
    }
}
